package com.lening.organization.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lening.organization.dto.PeopleDTO;
import com.lening.organization.dto.PostRoleDTO;
import com.lening.organization.po.People;

//@Mapper
public interface PeopleMapper extends BaseMapper<People> {
    Page<People> findPeople(Integer pageNum, Integer pageSize, Page<PeopleDTO> peopleDTO);

    void addUserRole(PostRoleDTO postRoleDTO);
}
